<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>登录页</title>
		<script src="js/jquery-1.10.2.js"></script>
		<script>
			$(function(){
				var clickData = {'userId':'1','actTime':'2020-12-16','action':'click','jobCode':'1001'};
				$("#open").click(function(){
					$.ajax({
						type: "POST",
						url: "/kafka/track",
						data: JSON.stringify(clickData),
						contentType: 'application/json;charset=utf-8',
						dataType: "json",
						seuccess:function(data){
							console.log(data);
						}
					})
				})
			})
		</script>
	</head>
	<body>
		<button id="open">点击</button>
		<button id="collection">收藏</button>
		<button id="sendResume">投简历</button>
		<button id="uploadResume">上传简历</button>
	</body>
</html>
